<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>商城首页</title>
    <link rel="stylesheet" type="text/css" href="${basePath}/public/css/common.css">
    <script type="text/javascript" src="${basePath }/public/js/jquery.min.js"></script>
    <script type="text/javascript">
        function select() {
            var name = $("#a").val();
            window.location.href="${basePath}/home/homepage/like?name="+name;
        }
    </script>
</head>
<body>
<div class="top-header">
    <div class="section">
        <div class="top-header-left f-left">
            <a href="#">帮助中心</a>
            <a href="#">收藏本站</a>
        </div>
        <div class="top-header-right f-right">
            <c:choose>
                <c:when test="${empty user}">
                    <a href="${basePath}/home/vipUser/toLogin">登录</a>
                    <a href="${basePath}/home/vipUser/toRegisterVip">注册</a>
                    <a href="${basePath}/admin/adminUser/toLogin">后台</a>
                </c:when>
                <c:otherwise>
                    <a href="#">欢迎你!<W style="color: bisque;font-weight: bold; font-family: 微软雅黑; font-size: 20px;">${user.username}</W></a>
                    <a href="${basePath}/admin/adminUser/toLogin">后台</a>
                    <a href="${basePath}/home/vipUser/write">注销</a>
                </c:otherwise>
            </c:choose>
        </div>
    </div>
</div>

<div class="section nav-header">
    <ul class="nav-menus f-left">
        <li><a href="${basePath}/home/homepage/index" >首页</a></li>
        <li><a href="${basePath}/home/homepage/toProductList">产品列表</a></li>
        <li><a href="${basePath}/home/cart">购物车</a></li>
        <li><a href="${basePath}/home/vipUser/index" >会员中心</a></li>
        <li><a href="${basePath}/home/News/toNews">新闻资讯</a></li>
        <li><a href="${basePath}/home/contact/contact" class="active">联系我们</a></li>
    </ul>
    <div class="f-right nav-right">
        <input type="text" class="seacher-input f-left" placeholder="输入关键字">
        <a class="seacher-but  f-left" onclick="select()">搜索</a>
    </div>
</div>


<div class="section" style="margin-top: 10px;">
    <div class="wrapper">
        <div class="bg-wrap" >
            <h1 style="padding:20px;line-height:30px;color:#c00;font-size:30px;text-align:center;font-weight:300;">联系我们</h1>
            <div class="entry">
                <p>
                    <strong>软咖在线商城 - 专注互联网开发最前端 </strong>
                </p>
                <p> <strong>联系方式：13786238013</strong></p>
                <p> <strong>地址：湖南省湘潭市九华软件学院</strong></p>
                <p> <strong>微信公众号：何亮</strong></p>
            </div>
            <div class="line15"></div>
        </div>
    </div>
</div>


<div class="section qitian-main">
    <img src="${basePath}/public/images/qitian.png">
</div>

<div class="footer-copyright">
    <p>软信商城©2013-2017 软信大学版权所有 京ICP备17017089号 京公网安备11000002000006号</p>
</div>
</body>
</html>